package com.syq.service.impl;

import com.syq.dao.UserloginMapper;
import com.syq.pojo.SysLogininfor;
import com.syq.service.UserloginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Sun Yueqi
 * @version 1.00
 * @time 2022/5/26 20:26
 */
@Service
public class UserLoginServiceImpl implements UserloginService {
    private UserloginMapper userloginMapper;

    @Autowired
    public void setUserLoginlogMapper(UserloginMapper userloginMapper) {
        this.userloginMapper = userloginMapper;
    }

    @Override
    public void addLoginLog(SysLogininfor logininfor) {
        userloginMapper.addUserLoginlog(logininfor);
    }
}
